﻿package plugin.viptq
{
    import com.core.*;

    public class ViptqCon extends Control
    {

        public function ViptqCon(param1:Object)
        {
            super(param1);
            return;
        }// end function

        override public function update(param1:Obproxy, param2:ProxyChange) : void
        {
            if (param1.getName() == "vip")
            {
                switch(param2.property)
                {
                    case "getvip":
                    {
                        if (this.target.visible)
                        {
                            this.target.getVipdata(param2.newvalue);
                        }
                        break;
                    }
                    default:
                    {
                        break;
                    }
                }
            }
            return;
        }// end function

    }
}
